/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Taxi.model;

import net.sf.persist.annotations.Column;

/**
 *
 * @author U24022
 */
public class Employee {
    private String firstName;
    private String lastName;
    private String address;
    private String bday;
    private String license;
    private int empNum;
    private int sss;
    private int pagibig;
    private int philHealth;
    private String startDate;
    private String endDate;
    

    @Column(name="emp_num")
    public int getEmpNum() {
        return empNum;
    }

    public void setEmpNum(int empNum) {
        this.empNum = empNum;
    }

    @Column(name="end_date")
    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public int getPagibig() {
        return pagibig;
    }

    public void setPagibig(int pagibig) {
        this.pagibig = pagibig;
    }

    public int getPhilHealth() {
        return philHealth;
    }

    public void setPhilHealth(int philHealth) {
        this.philHealth = philHealth;
    }

    public int getSss() {
        return sss;
    }

    public void setSss(int sss) {
        this.sss = sss;
    }

    public String getStartDate() {
        return startDate;
    }

    @Column(name="start_date")
    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }
   
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Column(name="birthday")
    public String getBday() {
        return bday;
    }

    public void setBday(String bday) {
        this.bday = bday;
    }

    @Column(name="first_name")
    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    @Column(name="last_name")
    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Employee other = (Employee) obj;
        if (this.empNum != other.empNum) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 89 * hash + this.empNum;
        return hash;
    }

    @Override
    public String toString() {
        return this.firstName + " " + this.lastName;
    }


    
}
